import request from "@/utils/request";

// 查询列表
export function assetTableList(query) {
  return request({
    method: "get",
    params: query,
    url: "/asset/sorting/querySorting",
  });
}

// 删除
export function assetTableDel(id) {
  return request({
    url: "/asset/sorting/deleteSorting/" + id,
    method: "delete",
  });
}

// 导入
export function assetTableImport(query) {
  return request({
    method: "post",
    params: query,
    url: "/asset/sorting/importData",
  });
}
